package com.comyou.beacon;

public class BeaconRegion {
	public int major=-1;
	public int minor=-1;
	public String uuid;
	
	public boolean hasEntered=false;
	
	private int msgWhat;
	
	
	public BeaconRegion(String uuid ,int major,int minor){
		
		super();
		this.major=major;
		this.minor=minor;
		this.uuid=uuid;
	}
	
	@Override
	public String toString() {
		 
		return " uuid:"+uuid+" major:"+major+" minor:"+minor;
	}
	
	public BeaconRegion(String uuid) {

		super();

		this.uuid = uuid;
	}

	public BeaconRegion(String uuid, int major) {

		super();

		this.uuid = uuid;
		this.major=major;
	}
	
	
	public String getKey(){
		return this.uuid+"_"+this.major+"_"+this.minor;
	}

	public void setMsgWhat(int msgWhat) {
		 this.msgWhat=msgWhat;
	}
	public int getMsgWhat() {
		return msgWhat;
	}
	
	
}
